﻿using AprenderComendo.Models;
using FluentNHibernate.Mapping;

namespace AprenderComendo.Infrastructure.FluentMappings
{
    public class ThoughtWorkerMap: SubclassMap<ThoughtWorker>
    {
        public ThoughtWorkerMap()
        {
            Table("ThoughtWorker");
            KeyColumn("Name");
            Map(t => t.Email).Access.CamelCaseField();
        }
    }
}